#pragma once

#include "RectStatic.h"

class RectGage : public RectStatic
{
public:
	RectGage();
	virtual ~RectGage();

	virtual void	ChangeSize();

	void			Create(RectElement* pRectElement, int nPosX, int nPosY, int nWidth, int nHeight, float fRate);

	void			SetGageRate(float fNewRate)		{ m_fGageRate = fNewRate;	ChangeSize(); }
	void			SetVerticalMode(BOOL bMode)		{ m_bIsVertical = bMode;	ChangeSize(); }

private:
	float			m_fGageRate;
	BOOL			m_bIsVertical;

};